package cn.juni.dao;

import cn.juni.pojo.Orders;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author Juni
 * @date 2021/2/24
 */
@Repository
public interface IOrdersDao {

    /**
     * 查询订单列表
     * @param orders
     * @return
     */
    public List<Orders> findAllOrders(Orders orders);

    /**
     * 查询订单详情
     * @param orderId
     * @return
     */
    public Orders findOrderDetail(String orderId);
}
